package com.kingyun.gpsinspection.purificationservice.facade.service.som;

import com.kingyun.gpsinspection.purificationservice.facade.model.som.FacadeWorkCellInstance;

import java.util.List;

/**
 * 工作内容service
 * Created by yangcs on 2017/2/21.
 */
public interface FacadeWorkCellInstanceService {

    /**
     * 分页查询工作内容列表
     * @param category
     * @return
     */
    List<FacadeWorkCellInstance> queryByParams(String category);

    /**
     * 分页查询工作内容分类
     * @return
     */
    List<String> queryCategorys();

    /**
     * 根据实体id查询所有的工作内容
     * @param entityId
     * @return
     */
    List<FacadeWorkCellInstance> queryByEntityId(String entityId);

    /**
     * 根据id查询详情
     * @param workInstanceId
     * @return
     */
    FacadeWorkCellInstance getById(String workInstanceId);
}
